home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333)))) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- XSGIvcSetOutputSync, XSGIvcQueryOutputSync - Set and query
- the sync status of a sync port
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////eeeexxxxtttteeeennnnssssiiiioooonnnnssss////XXXXSSSSGGGGIIIIvvvvcccc....hhhh>>>>
-
- vvvvooooiiiidddd XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,,
- iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,,
- iiiinnnntttt cccchhhhaaaannnnnnnneeeellll,,,,
- iiiinnnntttt ssssyyyynnnnccccPPPPoooorrrrttttIIIInnnnddddeeeexxxx,,,,
- iiiinnnntttt ssssyyyynnnnccccTTTTyyyyppppeeee))))
-
- SSSSttttaaaattttuuuussss XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,,
- iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,,
- iiiinnnntttt cccchhhhaaaannnnnnnneeeellll,,,,
- iiiinnnntttt ssssyyyynnnnccccPPPPoooorrrrttttIIIInnnnddddeeeexxxx,,,,
- iiiinnnntttt ****ssssyyyynnnnccccTTTTyyyyppppeeeeRRRReeeettttuuuurrrrnnnn))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
-
- _s_c_r_e_e_n Specifies the screen of the X server.
-
-
- _c_h_a_n_n_e_l Specifies the channel number.
-
-
- _s_y_n_c_P_o_r_t_I_n_d_e_x Specifies which sync port. Use one of the
- following constants for the color
- components sync outputs: _X_S_G_I_V_C__S_P_R_e_d,
- _X_S_G_I_V_C__S_P_G_r_e_e_n, _X_S_G_I_V_C__S_P_B_l_u_e, and
- _X_S_G_I_V_C__S_P_A_l_p_h_a. For the auxiliary sync
- ports, use one of the following constants:
- _X_S_G_I_V_C__S_P_A_u_x_0, _X_S_G_I_V_C__S_P_A_u_x_1, and
- _X_S_G_I_V_C__S_P_A_u_x_2. Alternatively, for the
- auxiliary sync ports, you may use one of
- the constants defined in an include file
- that may be supplied that is specific to
- your hardware. Not all sync ports have
- uniform characteristics; use the function
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyCCCChhhhaaaannnnnnnneeeellllIIIInnnnffffoooo to determine
- characteristics for each sync port.
-
-
- _s_y_n_c_T_y_p_e The sync type to enable on this port.
- Specify one of the values in the set
- _X_S_G_I_V_C__S_F...
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
-
-
-
- PPPPaaaaggggeeee 1111 ((((pppprrrriiiinnnntttteeeedddd 11110000////3333////00002222))))
-
-
-
-
-
-
- XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333)))) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333))))
-
-
-
- TTTTeeeerrrrmmmmiiiinnnnoooollllooooggggyyyy
- The synchronization signal (or _s_y_n_c signal) is a series of
- pulses that communicate raster geometry to a display device.
- The horizontal sync (or _H-_s_y_n_c) pulse typically indicates
- the termination of one scan line and the start of another,
- visually lower, line. The vertical sync (or _V-_s_y_n_c) pulse
- typically indicates the display device should reset its
- downward drawing of lines and start the next horizontal line
- at the top of the screen. When horizontal and vertical sync
- are combined in the same signal, the result is called
- composite sync (sometimes referred to as _H + _V-_s_y_n_c).
-
- A synchronization pulse is a variation from one level to
- another. The output voltage can be generated at different
- voltages: nominal video level or TTL levels. In some video
- formats (e.g., some HDTV formats) a third level of excursion
- is required during some sync pulse sequences; this third
- level is employed in _t_r_i-_l_e_v_e_l _s_y_n_c.
-
-
- SSSSeeeerrrrvvvveeeerrrr CCCCoooonnnnffffiiiigggguuuurrrraaaattttiiiioooonnnnssss
- These functions deal with the synchronization signal's
- presence on one of the channel's sync output ports.
- Different servers may have different hardware available for
- sync output: some ports may be separate connectors
- (auxiliary sync outputs) on which sync is delivered; the
- red, green, and blue color component signals may contain
- sync; some servers provide an alpha channel output
- connector, and sync may also be available on that port.
- Sync output may be unique to a channel - and servers may not
- provide sync outputs uniformly, so each channel's ports must
- be considered separately.
-
- Sync is available in different forms, depending on server
- hardware. Servers may permit a specific port to generate
- none, one or both of horizontal and vertical sync;
- capabilities of the ports may not be uniform among channels,
- or even among ports for a single channel.
-
- Especially for sync on the color components, a server may
- support independent adjustment of each component's sync, or
- may support only a global change such that sync is enabled
- or disabled for all color components simultaneously. Refer
- to hardware documentation for information on server support.
- Applications written for use on more than one type of
- hardware should query all color component values after
- setting one to determine whether the sync change was
- independently adjusted.
-
- The entire set of all sync ports and sync types available
- for that port may be determined from the structure returned
- from the function XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyCCCChhhhaaaannnnnnnneeeellllIIIInnnnffffoooo.
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-
-
-
- XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333)))) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333))))
-
-
-
- FFFFuuuunnnnccccttttiiiioooonnnnssss
- XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc(((()))) enables and disables sync on one of
- the sync output ports.
-
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc(((()))) returns the current settings for
- sync on one of the output ports.
-
-
- IIIInnnntttteeeerrrraaaaccccttttiiiioooonnnn WWWWiiiitttthhhh SSSSccccrrrreeeeeeeennnn SSSSaaaavvvveeeerrrr PPPPrrrrooooggggrrrraaaammmmssss
- Some screen savers may use these functions to alter sync
- output to trigger power-saving measures on monitors which
- have the capability to run with reduced power during periods
- of inactivity. Alteration of output sync may interfere with
- normal operation of these screen savers and monitors.
-
-
- EEEEVVVVEEEENNNNTTTTSSSS
- When this control is altered, the server generates a
- OutputSyncNotify event.
-
-
- RRRREEEETTTTUUUURRRRNNNNEEEEDDDD VVVVAAAALLLLUUUUEEEE
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc returns TRUE if successful, FALSE upon
- failure. Specification of non-existent port number returns
- FALSE.
-
- Other errors are reported via standard X protocol error
- mechanism. Parameter errors are reported via BadValue or
- BadMatch.
-
-
-
-
- SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
- /* Special sync port IDs */
- #define XSGIVC_SPRed -1
- #define XSGIVC_SPGreen -2
- #define XSGIVC_SPBlue -3
- #define XSGIVC_SPAlpha -4
- #define XSGIVC_SPAux0 0
- #define XSGIVC_SPAux1 1
- #define XSGIVC_SPAux2 2
-
- /* See syncType in XSGIvcSyncInfo */
- #define XSGIVC_SFNone 0 /* No sync */
- #define XSGIVC_SFHorizontalVideo 1 /* Horizontal sync, video level */
- #define XSGIVC_SFVerticalVideo 2 /* Vertical sync, video level */
- #define XSGIVC_SFCompositeVideo 3 /* Composite sync, video level */
- #define XSGIVC_SFHorizontalTTL 4 /* Horizontal sync, TTL level */
- #define XSGIVC_SFVerticalTTL 5 /* Vertical sync, TTL level */
- #define XSGIVC_SFCompositeTTL 6 /* Composite sync, TTL level */
- #define XSGIVC_SFHorizontalTriLevel 7 /* Horizontal sync, tri-level */
-
-
-
- Page 3 (printed 10/3/02)
-
-
-
-
-
-
- XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333)))) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttSSSSyyyynnnncccc((((3333))))
-
-
-
- #define XSGIVC_SFVerticalTriLevel 8 /* Vertical sync, tri-level */
- #define XSGIVC_SFCompositeTriLevel 9 /* Composite sync, tri-level */
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XSGIvc, XSGIvcQueryChannelInfo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 4 (printed 10/3/02)
-
-
-
-